/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package plains;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;
import java.util.ArrayList;


/**
 *
 * @author ceu
 */

public class ShipmentPlain implements Serializable{

    private Integer idShipment;
    private Integer numberPackages;
    private Integer volume;
    private String notes;
    private int telephoneOrigin;
    private int telephoneDestiny;
    private TypePackagePlain typePackage;
    private AddressPlain destinyAddress;
    private AddressPlain originAddress;
    private StatusPlain status;
    private CustomerPlain customer;
    private ArrayList <SectionPlain> sections;

    public ShipmentPlain(Integer numberPackages, Integer volume, String notes, int telephoneOrigin, int telephoneDestiny, TypePackagePlain typePackage, AddressPlain destinyAddress, AddressPlain originAddress, StatusPlain status, CustomerPlain customer) {
        this.numberPackages = numberPackages;
        this.volume = volume;
        this.notes = notes;
        this.telephoneOrigin = telephoneOrigin;
        this.telephoneDestiny = telephoneDestiny;
        this.typePackage = typePackage;
        this.destinyAddress = destinyAddress;
        this.originAddress = originAddress;
        this.status = status;
        this.customer = customer;
        this.sections=new ArrayList<SectionPlain>();
        
    }


    
    public CustomerPlain getCustomer() {
        return customer;
    }

    public void setCustomer(CustomerPlain customer) {
        this.customer = customer;
    }

    public AddressPlain getDestinyAddress() {
        return destinyAddress;
    }

    public void setDestinyAddress(AddressPlain destinyAddress) {
        this.destinyAddress = destinyAddress;
    }

    public Integer getIdShipment() {
        return idShipment;
    }

    public void setIdShipment(Integer idShipment) {
        this.idShipment = idShipment;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Integer getNumberPackages() {
        return numberPackages;
    }

    public void setNumberPackages(Integer numberPackages) {
        this.numberPackages = numberPackages;
    }

    public AddressPlain getOriginAddress() {
        return originAddress;
    }

    public void setOriginAddress(AddressPlain originAddress) {
        this.originAddress = originAddress;
    }

    public ArrayList<SectionPlain> getSections() {
        return sections;
    }

    public void setSections(ArrayList<SectionPlain> sections) {
        this.sections = sections;
    }

    public StatusPlain getStatus() {
        return status;
    }

    public void setStatus(StatusPlain status) {
        this.status = status;
    }

    public int getTelephoneDestiny() {
        return telephoneDestiny;
    }

    public void setTelephoneDestiny(int telephoneDestiny) {
        this.telephoneDestiny = telephoneDestiny;
    }

    public int getTelephoneOrigin() {
        return telephoneOrigin;
    }

    public void setTelephoneOrigin(int telephoneOrigin) {
        this.telephoneOrigin = telephoneOrigin;
    }

    public TypePackagePlain getTypePackage() {
        return typePackage;
    }

    public void setTypePackage(TypePackagePlain typePackage) {
        this.typePackage = typePackage;
    }

    public Integer getVolume() {
        return volume;
    }

    public void setVolume(Integer volume) {
        this.volume = volume;
    }

}
